package com.ssyx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * ClassName:ServiceHomeApplication
 * Description:
 *
 * @Author kay
 * @Create 2024/5/15 16:15
 * @Version 1.0
 */
// 此处有不明bug,加了(exclude = DataSourceAutoConfiguration.class),服务器也无法启动,但是配置文件中加了数据库配置就好了,不知道原因
@SpringBootApplication // (exclude = DataSourceAutoConfiguration.class)//取消数据源自动配置
@EnableFeignClients
public class ServiceHomeApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceHomeApplication.class, args);
    }
}
